package com.mm.service;

import com.mm.model.Wallet;

/**
 * 钱包service
 *
 * @date 2018/7/18 18:59
 */
public interface WalletService {

	/**
	 * 保存钱包
	 *
	 * @param wallet Wallet
	 */
	void saveWallet(Wallet wallet);

	/**
	 * 更新钱包
	 *
	 * @param wallet Wallet
	 */
	void updateWallet(Wallet wallet);

	/**
	 * 获取钱包
	 *
	 * @param walletId 钱包ID
	 * @return Wallet
	 */
	Wallet getOneWalletById(Long walletId);

	/**
	 * 通过钱包ID删除钱包
	 *
	 * @param walletId 钱包ID
	 */
	void deleteWalletById(Long walletId);
}
